package edu.whut.mall.admin.domain;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @program: d9lab-mall
 * @description: 角色上传表单
 * @author: Wayne
 * @create: 2020-04-17 11:17
 **/
@Data
public class RoleParams {
    private Long id;

    @NotBlank(message = "角色名称不能为空")
    private String name;

    @NotBlank(message = "角色描述不能为空")
    private String description;
}
